/*
 * CommandeTourner.h
 *
 *  Created on: 22 déc. 2012
 *      Author: aboursie - potier
 */

#ifndef COMMANDETOURNER_H_
#define COMMANDETOURNER_H_

#include "CommandeRobot.h"
#include "../Robot.h"

class CommandeTourner: public CommandeRobot {

private:
	string direction;
	string last_direction;
public:
	CommandeTourner(Robot* r) : direction("Nord"), last_direction("Nord"){
		this->robot = r;
		commandes["TOURNER"] = this;
	}

	bool initialiserArguments(vector<string> args);
	void execute();
	void desexecute();
	Commande* constructeurVirtuel();
};

#endif /* COMMANDETOURNER_H_ */
